package com.zttek.photosShareProject.modules.service.manager;

import com.baomidou.mybatisplus.plugins.Page;
import com.zttek.photosShareProject.modules.model.Keyword;
import org.springframework.transaction.annotation.Transactional;

import java.security.Key;
import java.util.List;
import java.util.Set;

/**
 * Created by 13296 on 2017/8/15.
 */
public interface IKeywordService {
    List<Keyword> selectAllKeyword()throws Exception;
    Page<Keyword> selectKeywordPage(Page<Keyword> page)throws Exception;
    Page<Keyword> selectKeywordPageByKwType(Page<Keyword> page, String keType)throws Exception;
    Set<String> selectAllKeywordSet()throws Exception;
    Set<String> getContainKeywordSet(String description)throws Exception;
    Keyword selectKeywordById(Long id)throws Exception;
    Page<Keyword>  selectLike(Page<Keyword> page, String value)throws Exception;
    void insertKeyword(Keyword keyword)throws Exception;
    void deleteKeywordById(Integer id)throws Exception;
    Integer updateKeyword(Keyword keyword)throws Exception;
}
